package com.reform.service;

import com.reform.pojo.project.ProjectSearching;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reform.res.Result;

import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * 主要科学研究和教学研究工作简历
 服务类
 * </p>
 *
 * @author mortale
 * @since 2021-07-20
 */
public interface IProjectSearchingService extends IService<ProjectSearching> {



    /**
     * 删除简历信息
     * @param proId
     * @return
     * @throws SQLException
     */
    Integer deleteProjectSearchingByProId(String proId) throws SQLException;


    /**
     * 创建简历信息
     * @param projectSearchingList
     * @return
     * @throws SQLException
     */
    Integer creatProjectSearchingList(List<ProjectSearching> projectSearchingList) throws SQLException;

    /**
     * 修改简历信息
     * @param projectSearchingList
     * @return
     * @throws SQLException
     */
    Integer updateProjectSearchingList(List<ProjectSearching> projectSearchingList) throws SQLException;

    /**
     * 通过searching_id删除简历信息
     * @param searching_id
     * @return
     * @throws SQLException
     */
    Result deleteProjectSearchingBySearchingId(String searching_id) throws SQLException;

    /**
     * 添加主要科学研究和教学研究工作简历
     * @param projectSearchings
     * @return
     */
    Result insertProjectSearching(String projectSearchings) throws SQLException;
}
